home *** CD-ROM | disk | FTP | other *** search
- Path: rational.com!usenet
- From: Gene Ouye <geneo@rational.com>
- Newsgroups: comp.lang.c++,comp.lang.c,comp.lang.ada
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: Thu, 22 Feb 96 14:37:05 EST
- Organization: Rational Software Corporation
- Message-ID: <NEWTNews.825000934.12000.geneo@medusa.ppp.rational.com>
- References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com> <312515DF.7D3B@cmlj.demon.co.uk> <4gad29$ddp@druid.borland.com> <4gb4r3$psg@qualcomm.com> <eg4tslzr18.fsf@trost.ii.uib.no> <dirk.824894312@demokrit>
- NNTP-Posting-Host: medusa.rational.com
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- X-Newsreader: NEWTNews & Chameleon -- TCP/IP for MS Windows from NetManage
-
-
- Dirk Dickmanns <dirk@demokrit.informatik.unibw-muenchen.de> wrote:
-
- > >[another citation of Ada 83 Booch Components shrunk 80%, 90%, 100%,
- or more when written in C++ deleted...]
- >
- > My 2 Pfennig: It would have shrunk to 10 KLOC in all of Ada, C++,
- > Eiffel, Sather, whatever during recoding. Maybe we have some kind of
- > code compressors, but up to now any recode I saw shrunk a lot and was
- > -- even if done by me -- not neccessarily less readable.
-
- Dirk is right on the mark here (no pun intended:-). Grady has said
- MANY TIMES and in MANY LOCATIONS that the reason the components shrank
- so much was in no way due to the inherent expressiveness, goodness, or
- any other attribute of either Ada or C++, but was rather due to the
- "aha" factor after examining the completed work and then taking a
- second (or more) pass through and redoing it. He admitted that due
- to Ada's (at the time) lack of support for dynamic dispatching, there
- was some additional overhead that would be written into the code, but
- that regardless, there would have been an order of magnitude reduction
- in the size of the code similar to the reduction found in the C++
- components had they been redone in Ada 83.
-
- Given Ada 95's support for tagged types, plus other goodies, it is
- expected that the size of the final Ada 95 version will likely be
- somewhat smaller than the C++ version. Do not construe from this
- that Ada 95 is now slightly more expressive than C++, probably if
- someone takes another pass through the C++ version, it could be made
- even smaller as well.
-
- Besides, statistics about a component library such as the Booch
- components, or Tools.h++, or anything like that are pretty much
- irrelevant to the normal programmer, who is NOT writing a reusable
- component library, but rather an application that, among other things,
- utilizes component libraries. These kinds of statistics make great
- flame war fodder, but one would hope that reasonable people making
- reasonable decisions about programming languages would be able to
- see them for what they are and USE THEM IN THE PROPER CONTEXT.
-
-
- >
- > Dirk
- >
- > --
- > Dirk Dickmanns -- real-time dynamic computer vision
- > Sun OS 4.1.3; PC Linux; Transputers -- embedded
- > Ada 95, Ada 83, OCCAM2/3, ANSI C, Eiffel 3, PROLOG
-
- Gene Ouye <geneo@rational.com>
-
-